//
//  TencentApiManager.h
//  KwSing
//
//  Created by yuchenghai on 14-9-30.
//  Copyright (c) 2014年 kuwo.cn. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "ShareApiManagerBase.h"

typedef enum {
    KSShareToQQTypeMusic,
    KSShareToQQTypeVideo,
    KSShareToQQTypeURL,
    KSShareToQQTypeImage
} KSShareToQQType;

@interface TencentApiManager : ShareApiManagerBase

+ (id)defaultManager;


- (void)loginByQQWithCompletion:(loginApiCompletionBlock)completion;


/**
 *  QQAPP分享 （媒体）
 *
 *  @param text       分享的文本内容
 *  @param token      token
 *  @param completion 结果返回block
 */
- (void)shareToQQInAPP:(KSShareToQQType)shareToQQType title:(NSString *)title url:(NSString *)url description:(NSString *)description imageUrl:(NSString *)imageUrl withCompletion:(shareApiCompletionBlock)completion;
- (void)shareToZoneInAPP:(KSShareToQQType)shareToQQType title:(NSString *)title url:(NSString *)url description:(NSString *)description imageUrl:(NSString *)imageUrl withCompletion:(shareApiCompletionBlock)completion;

- (void)shareToQQInAPP:(KSShareToQQType)shareToQQType title:(NSString *)title url:(NSString *)url description:(NSString *)description image:(UIImage *)image withCompletion:(shareApiCompletionBlock)completion;
- (void)shareToZoneInAPP:(KSShareToQQType)shareToQQType title:(NSString *)title url:(NSString *)url description:(NSString *)description image:(UIImage *)image withCompletion:(shareApiCompletionBlock)completion;

@end
